/**
 *
 * @author John Creecy
 */
package battlebarnserver.entities;

public class TileEntity implements BaseEntity {

	private int tileX;
	private int tileY;
	private String playerId; //TODO:
	private PlayerEntity entity;
	private boolean collision;
	private boolean damage;

	public TileEntity(int tx, int ty, PlayerEntity pEntity, String pId) {
		tileX=tx;
		tileY=ty;
		playerId=pId;
		entity=pEntity;
		damage=false;
		collision=false;
	}

	public int getTileX () {
		return tileX;
	}

	public String getPlayerId() {
		return playerId;
	}

	public int getTileY () {
		return tileY;
	}

	public PlayerEntity getPlayerEntity() {
		return entity;
	}

	public boolean getCollision() {
		return collision;
	}

	public boolean getDamage() {
		return damage;
	}

	public int getFacing() {
		throw new UnsupportedOperationException("Not supported yet.");
	}

	public String getType() {
		throw new UnsupportedOperationException("Not supported yet.");
	}

}
